﻿<%@ Control Language="C#" ClassName="CheckInvoiceFields" %>

<asp:FormView ID="FormView1" runat="server">
	<ItemTemplate>
		<table border="0" cellpadding="3" cellspacing="1">
			<tr>
        <td class="literal"><asp:Label ID="lbldataVatInvoiceNumber" runat="server" Text="Vat Invoice Number:" AssociatedControlID="dataVatInvoiceNumber" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataVatInvoiceNumber" Text='<%# Bind("VatInvoiceNumber") %>' MaxLength="10"></asp:TextBox><asp:RequiredFieldValidator ID="ReqVal_dataVatInvoiceNumber" runat="server" Display="Dynamic" ControlToValidate="dataVatInvoiceNumber" ErrorMessage="Required"></asp:RequiredFieldValidator>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataFileCopy" runat="server" Text="File Copy:" AssociatedControlID="dataFileCopy" /></td>
        <td>
					<asp:RadioButtonList runat="server" ID="dataFileCopy" SelectedValue='<%# Bind("FileCopy") %>' RepeatDirection="Horizontal"><asp:ListItem Value="True" Text="Yes" Selected="True"></asp:ListItem><asp:ListItem Value="False" Text="No"></asp:ListItem><asp:ListItem Value="" Text="Pick ..." Enabled="False"></asp:ListItem></asp:RadioButtonList>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataCustomerCopy" runat="server" Text="Customer Copy:" AssociatedControlID="dataCustomerCopy" /></td>
        <td>
					<asp:RadioButtonList runat="server" ID="dataCustomerCopy" SelectedValue='<%# Bind("CustomerCopy") %>' RepeatDirection="Horizontal"><asp:ListItem Value="True" Text="Yes" Selected="True"></asp:ListItem><asp:ListItem Value="False" Text="No"></asp:ListItem><asp:ListItem Value="" Text="Pick ..." Enabled="False"></asp:ListItem></asp:RadioButtonList>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataCheckDate" runat="server" Text="Check Date:" AssociatedControlID="dataCheckDate" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataCheckDate" Text='<%# Bind("CheckDate", "{0:d}") %>' MaxLength="10"></asp:TextBox><asp:ImageButton ID="cal_dataCheckDate" runat="server" SkinID="CalendarImageButton" OnClientClick="javascript:showCalendarControl(this.previousSibling);return false;" /><asp:RequiredFieldValidator ID="ReqVal_dataCheckDate" runat="server" Display="Dynamic" ControlToValidate="dataCheckDate" ErrorMessage="Required"></asp:RequiredFieldValidator>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataRemark" runat="server" Text="Remark:" AssociatedControlID="dataRemark" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataRemark" Text='<%# Bind("Remark") %>' MaxLength="250"></asp:TextBox>
				</td>
			</tr>
			
		</table>

	</ItemTemplate>
</asp:FormView>


